package com.insurance.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.insurance.common.utils.PageUtils;
import com.insurance.entity.PartnerRoleEntity;

import java.util.List;
import java.util.Map;

/**
 * 合作方角色
 *
 * @date 2021-02-27 15:51:21
 */
public interface PartnerRoleService extends IService<PartnerRoleEntity> {

    PageUtils queryPage(Map<String, Object> params, QueryWrapper<PartnerRoleEntity> queryWrapper);

    QueryWrapper<PartnerRoleEntity> getQueryWrapper(PartnerRoleEntity partnerRoleEntity);

    boolean removeBatch(List<String> roleIdList, PartnerRoleEntity partnerRoleEntity);

    List<PartnerRoleEntity> queryList(PartnerRoleEntity partnerRoleEntity);

    List<PartnerRoleEntity> queryList(QueryWrapper<PartnerRoleEntity> queryWrapper);

}

